{% extends "admin/layout.html" %}

{% block content %}
    <h1 style="margin-top: 30px">产品列表</h1>
    <div style="margin-top: 30px;">
        {% for p in products %}
            <label>{{ p.id }}.</label>
            <a target="_blank" style="font-size: 20px" href="{{ url_for('admin_product',id=p.id) }}">{{ p.name }}</a>
            <br/>
        {% endfor %}
        <br/>
    </div>
{% endblock %}